projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7eda24
)
(gdb-locals-watch-keymap): Add "\r" binding to local map.
author
Nick Roberts
<nickrob@snap.net.nz>
Tue, 22 Nov 2005 03:35:33 +0000
(
03:35
+0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Tue, 22 Nov 2005 03:35:33 +0000
(
03:35
+0000)
lisp/progmodes/gdb-ui.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/gdb-ui.el
b/lisp/progmodes/gdb-ui.el
index 0d4c9211b090bdfd0edee8b575ebc8aa5dbf50f6..961ee0747ff9a0d21982c12a25d8977cbeb9173d 100644
(file)
--- a/
lisp/progmodes/gdb-ui.el
+++ b/
lisp/progmodes/gdb-ui.el
@@
-2234,6
+2234,9
@@
corresponding to the mode line clicked."
(defvar gdb-locals-watch-keymap
(let ((map (make-sparse-keymap)))
+ (define-key map "\r" '(lambda () (interactive)
+ (beginning-of-line)
+ (gud-watch)))
(define-key map [mouse-2] '(lambda (event) (interactive "e")
(mouse-set-point event)
(beginning-of-line)